/* CSS变量定义 - 科技感主题 */
:root {
  /* 主色调 */
  --tech-blue: #007aff;
  --tech-blue-light: #40a9ff;
  --tech-blue-dark: #0056cc;
  --tech-blue-accent: #52c7ff;
  
  /* 文本颜色 */
  --tech-blue-text: #ffffff;
  --tech-blue-text-secondary: rgba(255, 255, 255, 0.85);
  --tech-blue-text-muted: rgba(255, 255, 255, 0.65);
  
  /* 边框颜色 */
  --tech-blue-border: rgba(0, 122, 255, 0.3);
  --tech-blue-border-light: rgba(0, 122, 255, 0.15);
  
  /* 背景渐变 */
  --tech-blue-gradient: linear-gradient(135deg, 
    #0a1628 0%, 
    #1c3461 25%, 
    #2d4f7c 50%, 
    #1c3461 75%, 
    #0a1628 100%);
  
  --tech-gradient-1: linear-gradient(135deg, #007aff, #40a9ff);
  --tech-gradient-2: rgba(0, 122, 255, 0.08);
  
  /* 阴影效果 */
  --tech-blue-glow: 0 0 20px rgba(0, 122, 255, 0.4);
  --tech-blue-shadow: 0 4px 15px rgba(0, 122, 255, 0.25);
  
  /* 动画速度 */
  --animation-speed: 0.3s;
}

/* 动画关键帧 */
@keyframes glow {
  0%, 100% { 
    box-shadow: var(--tech-blue-glow); 
  }
  50% { 
    box-shadow: 0 0 25px rgba(0, 122, 255, 0.6); 
  }
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0px); 
  }
  50% { 
    transform: translateY(-5px); 
  }
}

@keyframes pulse {
  0%, 100% { 
    opacity: 1; 
  }
  50% { 
    opacity: 0.7; 
  }
}

html,
body,
#app {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, SimSun, sans-serif;
  font-weight: 400;
  font-size: 14px;
  overflow: hidden;
  position: relative;
  color: var(--tech-blue-text);
  background: var(--tech-blue-gradient);
}

/* 科技感卡片基础样式 */
.tech-card {
  background: var(--tech-gradient-2);
  backdrop-filter: blur(10px);
  border: 1px solid var(--tech-blue-border);
  border-radius: 8px;
  transition: all var(--animation-speed) ease;
}

.tech-card:hover {
  border-color: var(--tech-blue);
  box-shadow: var(--tech-blue-glow);
  transform: translateY(-2px);
}

/* 发光效果 */
.tech-glow {
  animation: glow 2s infinite;
}

/* 悬浮效果 */
.tech-float {
  animation: float 3s ease-in-out infinite;
}

/* 脉冲效果 */
.tech-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* 科技感按钮 */
.tech-button {
  background: var(--tech-gradient-1);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--animation-speed);
}

.tech-button:hover {
  transform: translateY(-1px);
  box-shadow: var(--tech-blue-glow);
}

/* 科技感输入框 */
.tech-input {
  background: rgba(0, 122, 255, 0.1);
  border: 1px solid var(--tech-blue-border);
  border-radius: 4px;
  color: var(--tech-blue-text);
  padding: 0.5rem;
  transition: all var(--animation-speed);
}

.tech-input:focus {
  border-color: var(--tech-blue);
  box-shadow: var(--tech-blue-glow);
  outline: none;
}

/* 科技感分割线 */
.tech-divider {
  height: 1px;
  background: var(--tech-gradient-1);
  margin: 1rem 0;
}

/* 科技感标题 */
.tech-title {
  color: var(--tech-blue-text);
  font-weight: bold;
  position: relative;
  display: inline-block;
}

.tech-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 50%;
  height: 2px;
  background: var(--tech-gradient-1);
}

/* 科技感图标容器 */
.tech-icon-container {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--tech-gradient-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tech-blue);
  transition: all var(--animation-speed);
}

.tech-icon-container:hover {
  transform: scale(1.1);
  box-shadow: var(--tech-blue-glow);
}

/* 科技感状态标签 */
.tech-status {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.875rem;
  background: var(--tech-gradient-2);
  border: 1px solid var(--tech-blue-border);
}

/* 科技感数据展示 */
.tech-data {
  font-family: 'Monaco', 'Courier New', monospace;
  color: var(--tech-blue-accent);
  font-size: 1.5rem;
  font-weight: bold;
}

/* 科技感网格背景 */
.tech-grid-bg {
  background-image: 
    linear-gradient(var(--tech-blue-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--tech-blue-border) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: center center;
}
